package xkp.lesson.springboot_shiro.dao;

import org.apache.ibatis.annotations.Mapper;
import xkp.lesson.springboot_shiro.entity.Building;

import java.util.List;

@Mapper
public interface BuildingDao {
    int deleteByPrimaryKey(Integer buildId);

    int insert(Building record);

    int insertSelective(Building record);

    Building selectByPrimaryKey(Integer buildId);

    int updateByPrimaryKeySelective(Building record);

    int updateByPrimaryKey(Building record);

    List<Building> selectByUserId(Integer userId);
}